﻿using System;
using System.Runtime.Serialization;

namespace Fuse8.ContentManagementFramework.SystemFacade.Exceptions
{
    [Serializable]
    public class WorkflowException : Exception
    {
        #region Constructors

        /// <summary>
        /// 
        /// </summary>
        public WorkflowException()
            : base()
        { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        public WorkflowException(string message)
            : base(message)
        { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public WorkflowException(string message, Exception innerException)
            : base(message, innerException)
        { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected WorkflowException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        { }

        #endregion
    }
}
